Optimal. Leaf size=81 \[ \frac{2 \tan ^{\frac{5}{2}}(c+d x) (1+i \tan (c+d x))^{-m} (a+i a \tan (c+d x))^m F_1\left (\frac{5}{2};1-m,1;\frac{7}{2};-i \tan (c+d x),i \tan (c+d x)\right )}{5 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.125108, antiderivative size = 81, normalized size of antiderivative = 1., number of steps used = 4, number of rules used = 4, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154, Rules used = {3564, 130, 511, 510} \[ \frac{2 \tan ^{\frac{5}{2}}(c+d x) (1+i \tan (c+d x))^{-m} (a+i a \tan (c+d x))^m F_1\left (\frac{5}{2};1-m,1;\frac{7}{2};-i \tan (c+d x),i \tan (c+d x)\right )}{5 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3564
Rule 130
Rule 511
Rule 510
Rubi steps
\begin{align*} \int \tan ^{\frac{3}{2}}(c+d x) (a+i a \tan (c+d x))^m \, dx &=\frac{\left (i a^2\right ) \operatorname{Subst}\left (\int \frac{\left (-\frac{i x}{a}\right )^{3/2} (a+x)^{-1+m}}{-a^2+a x} \, dx,x,i a \tan (c+d x)\right )}{d}\\ &=-\frac{\left (2 a^3\right ) \operatorname{Subst}\left (\int \frac{x^4 \left (a+i a x^2\right )^{-1+m}}{-a^2+i a^2 x^2} \, dx,x,\sqrt{\tan (c+d x)}\right )}{d}\\ &=-\frac{\left (2 a^2 (1+i \tan (c+d x))^{-m} (a+i a \tan (c+d x))^m\right ) \operatorname{Subst}\left (\int \frac{x^4 \left (1+i x^2\right )^{-1+m}}{-a^2+i a^2 x^2} \, dx,x,\sqrt{\tan (c+d x)}\right )}{d}\\ &=\frac{2 F_1\left (\frac{5}{2};1-m,1;\frac{7}{2};-i \tan (c+d x),i \tan (c+d x)\right ) (1+i \tan (c+d x))^{-m} \tan ^{\frac{5}{2}}(c+d x) (a+i a \tan (c+d x))^m}{5 d}\\ \end{align*}
Mathematica [F] time = 11.12, size = 0, normalized size = 0. \[ \int \tan ^{\frac{3}{2}}(c+d x) (a+i a \tan (c+d x))^m \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.227, size = 0, normalized size = 0. \begin{align*} \int \left ( \tan \left ( dx+c \right ) \right ) ^{{\frac{3}{2}}} \left ( a+ia\tan \left ( dx+c \right ) \right ) ^{m}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (i \, a \tan \left (d x + c\right ) + a\right )}^{m} \tan \left (d x + c\right )^{\frac{3}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{\left (\frac{2 \, a e^{\left (2 i \, d x + 2 i \, c\right )}}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}\right )^{m} \sqrt{\frac{-i \, e^{\left (2 i \, d x + 2 i \, c\right )} + i}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}}{\left (-i \, e^{\left (2 i \, d x + 2 i \, c\right )} + i\right )}}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (i \, a \tan \left (d x + c\right ) + a\right )}^{m} \tan \left (d x + c\right )^{\frac{3}{2}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]